RegularValidate={
    //返回函数
    titleValidate:function (value,text) {
        let warnBlock=document.getElementById("moduleTitle");
        if(typeof value==='string') {
            //regular正则：数字、任意大小写字母，不可以有下划线
            //中文字符：[\u4e00-\u9fa5]
            //任意字母数字：[a-zA-Z0-9]
            //以...开头：^
            //以...结尾：$
            let regBlank = /^[a-zA-Z0-9\u4e00-\u9fa5]{3,30}$/
            console.log("输入判断：" + regBlank.test(value) + "输入内容：" + value);
            let flag = regBlank.test(value);
            if (flag === false) {
                let warningNode=document.createElement("div");
                warningNode.style.width="200px";
                warningNode.style.height="200px";
                warningNode.className="errorAlert";
                warningNode.style.background="steelblue";
                warningNode.title="警告提示";
                warningNode.style.position="absolute";
                warningNode.style.zIndex="99";
                warningNode.innerHTML="???";
                warnBlock.innerHTML=warningNode;
                //失败
                return true;
            } else {
                //成功
                return false;
            }
        }
    },
    length:function (value,text,min,max) {
        if(RegularTool.titleReg(value)){
            return false;
        }
        if(!RegularTool.lengthSize(value,min,max)){
            toast.warning(text+"长度"+min+"~"+max+"位");
            return false;
        }else{
            return true;
        }

    }
}